package com.hsnn.medstgmini.base.std.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @author 言科
 * @category	企业产品库详情实体类
 * @date  2015年8月17日
 */
@Entity
@Table(name="std_proddruginfo_detail")
public class StdProdDrugInfoDetail implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private String prodId;				//产品ID
	private String qualityspecId;		//品规ID
	private Integer drugAttr;			//基本药物属性 1.国家基本药物（2012版）；2.省增补基本药物；3.其他
	private Integer drugIndex;			//基药序号
	private String pharId;				//药理分类
	private Integer patternType;		//专利类型。1. 发明专利；2. 实用新型专利；3. 外观设计专利；4.没有专利；9.不详。
	private Integer drugSource;			//药品来源。1.国产；2.进口；9不详。
	private Integer isLowprice;			//是否低价药,1是0否9未知
	private Integer isAgriculture;		//是否农合,1是0否9未知
	private Integer isHealthcare;		//是否医保,1是0否9未知
	private String drugStdCode;			//药品本位码
	private String drugStdcdRemark;		//药品本位码备注
	private String remark;				//说明
	private Date updDatetime;			//更新时间
	private String updUser;				//更新人
	
	

	@Id
    @Column(name="prod_id", length=36)
	public String getProdId() {
		return prodId;
	}

	public void setProdId(String prodId) {
		this.prodId = prodId;
	}

	@Column(name="qualityspec_id", length=36)
	public String getQualityspecId() {
		return qualityspecId;
	}

	public void setQualityspecId(String qualityspecId) {
		this.qualityspecId = qualityspecId;
	}

	@Column(name="drug_attr", length=4)
	public Integer getDrugAttr() {
		return drugAttr;
	}

	public void setDrugAttr(Integer drugAttr) {
		this.drugAttr = drugAttr;
	}

	@Column(name="drug_index", length=11)
	public Integer getDrugIndex() {
		return drugIndex;
	}

	public void setDrugIndex(Integer drugIndex) {
		this.drugIndex = drugIndex;
	}

	@Column(name="phar_id", length=36)
	public String getPharId() {
		return pharId;
	}

	public void setPharId(String pharId) {
		this.pharId = pharId;
	}

	@Column(name="pattern_type", length=4)
	public Integer getPatternType() {
		return patternType;
	}

	public void setPatternType(Integer patternType) {
		this.patternType = patternType;
	}

	@Column(name="drug_source", length=4)
	public Integer getDrugSource() {
		return drugSource;
	}

	public void setDrugSource(Integer drugSource) {
		this.drugSource = drugSource;
	}

	@Column(name="is_lowprice", length=4)
	public Integer getIsLowprice() {
		return isLowprice;
	}

	public void setIsLowprice(Integer isLowprice) {
		this.isLowprice = isLowprice;
	}

	@Column(name="is_agriculture", length=4)
	public Integer getIsAgriculture() {
		return isAgriculture;
	}

	public void setIsAgriculture(Integer isAgriculture) {
		this.isAgriculture = isAgriculture;
	}

	@Column(name="is_healthcare", length=4)
	public Integer getIsHealthcare() {
		return isHealthcare;
	}

	public void setIsHealthcare(Integer isHealthcare) {
		this.isHealthcare = isHealthcare;
	}

	@Column(name="drug_std_code", length=128)
	public String getDrugStdCode() {
		return drugStdCode;
	}

	public void setDrugStdCode(String drugStdCode) {
		this.drugStdCode = drugStdCode;
	}

	@Column(name="drug_stdcd_remark", length=1024)
	public String getDrugStdcdRemark() {
		return drugStdcdRemark;
	}

	public void setDrugStdcdRemark(String drugStdcdRemark) {
		this.drugStdcdRemark = drugStdcdRemark;
	}

	@Column(name="remark", length=4000)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name="upd_datetime")
	public Date getUpdDatetime() {
		return updDatetime;
	}

	public void setUpdDatetime(Date updDatetime) {
		this.updDatetime = updDatetime;
	}

	@Column(name="upd_user", length=36)
	public String getUpdUser() {
		return updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}
	
	
	
	

}
